<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>dinic: Referencia del Archivo node.h</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javaScript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Generado por Doxygen 1.6.3 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Buscar');
--></script>
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Página&nbsp;principal</span></a></li>
      <li><a href="annotated.html"><span>Estructuras&nbsp;de&nbsp;Datos</span></a></li>
      <li class="current"><a href="files.html"><span>Archivos</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <img id="MSearchSelect" src="search/search.png"
             onmouseover="return searchBox.OnSearchSelectShow()"
             onmouseout="return searchBox.OnSearchSelectHide()"
             alt=""/>
        <input type="text" id="MSearchField" value="Buscar" accesskey="S"
             onfocus="searchBox.OnSearchFieldFocus(true)" 
             onblur="searchBox.OnSearchFieldFocus(false)" 
             onkeyup="searchBox.OnSearchFieldChange(event)"/>
        <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
        </div>
      </li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>Lista&nbsp;de&nbsp;archivos</span></a></li>
      <li><a href="globals.html"><span>Globales</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>Referencia del Archivo node.h</h1>
<p>&lt; Estructura y funciones del nodo &gt;  
<a href="#_details">Más...</a></p>
<code>#include &quot;<a class="el" href="uthash_8h_source.html">uthash.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="plist_8h_source.html">plist.h</a>&quot;</code><br/>

<p><a href="node_8h_source.html">Ir al código fuente de este archivo.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Estructuras de datos</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structs__node.html">s_node</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Esta estructura representa un nodo.  <a href="structs__node.html#_details">Más...</a><br/></td></tr>
<tr><td colspan="2"><h2>Tipos definidos</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="structs__node.html">s_node</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="node_8h.html#a459b35d75156ad8335079fba6aeff369">node</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">La estructura <a class="el" href="structs__node.html" title="Esta estructura representa un nodo.">s_node</a> la llamaremos con el puntero node.  <a href="#a459b35d75156ad8335079fba6aeff369"></a><br/></td></tr>
<tr><td colspan="2"><h2>Funciones</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structs__node.html">node</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="node_8h.html#a37a2cab23c1adb9dd7d5420f52b9f34a">node_create</a> (unsigned int name)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Crea un nodo nuevo.  <a href="#a37a2cab23c1adb9dd7d5420f52b9f34a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="node_8h.html#acd62708fdd228d83b06157bdf1cb0c52">node_visited</a> (<a class="el" href="structs__node.html">node</a> nd)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Verifica si un nodo fue visitado o no.  <a href="#acd62708fdd228d83b06157bdf1cb0c52"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structplist__s.html">plist_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="node_8h.html#a3dbda47bb0c9668bda9e2a4db958ffdf">node_neighbours</a> (<a class="el" href="structs__node.html">node</a> nd)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Devuelve una lista con todos los vecinos del nodo.  <a href="#a3dbda47bb0c9668bda9e2a4db958ffdf"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structs__node.html">node</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="node_8h.html#a2dfbebabbeeed690f9198dd386e82bb2">node_destroy</a> (<a class="el" href="structs__node.html">node</a> nd)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Destruye el nodo.  <a href="#a2dfbebabbeeed690f9198dd386e82bb2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="node_8h.html#a21dd444b792c4919fc92cc0fe25021a5">node_get_level</a> (<a class="el" href="structs__node.html">node</a> nd)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Devuelve el nivel al que se encuentra el nodo.  <a href="#a21dd444b792c4919fc92cc0fe25021a5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="node_8h.html#a64bea7dd4c4cfebfb357a5c9ca471996">node_set_level</a> (<a class="el" href="structs__node.html">node</a> nd, int level)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Seteamos el nivel del nodo.  <a href="#a64bea7dd4c4cfebfb357a5c9ca471996"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="node_8h.html#a33904e3954dfe80913894d0517fa5de3">node_visit</a> (<a class="el" href="structs__node.html">node</a> nd)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Marca como visitado el nodo.  <a href="#a33904e3954dfe80913894d0517fa5de3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="node_8h.html#ac2eb17f20c4320c391cfa47a879b0d42">node_unvisit</a> (<a class="el" href="structs__node.html">node</a> nd)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Marca como no visitado el nodo.  <a href="#ac2eb17f20c4320c391cfa47a879b0d42"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">unsigned int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="node_8h.html#a341634c5a7a4387a61220ec38142ef15">node_name</a> (<a class="el" href="structs__node.html">node</a> nd)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Retorna el nombre del nodo.  <a href="#a341634c5a7a4387a61220ec38142ef15"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="node_8h.html#a75d5cc05cbabba9db1a09e6868c000e4">node_add_neighbour</a> (<a class="el" href="structs__node.html">node</a> nd, <a class="el" href="structs__node.html">node</a> to, unsigned int capacity, unsigned int flow, int level, bool backward)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Agrega un vecino a la lista de vecinos del nodo.  <a href="#a75d5cc05cbabba9db1a09e6868c000e4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="node_8h.html#aa667e90fcaef406576068bc83e0a196a">node_neighbours_fordward</a> (<a class="el" href="structs__node.html">node</a> nd)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Indica si hay vecinos entre los vecinos del nodo nd.  <a href="#aa667e90fcaef406576068bc83e0a196a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="node_8h.html#ab4c184fc0e28fe7503a354793c767f05">node_delete_neighbour</a> (<a class="el" href="structs__node.html">node</a> nd, unsigned int name)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Borro el vecino name de la lista de vecinos del nodo.  <a href="#ab4c184fc0e28fe7503a354793c767f05"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="structs__node.html">node</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="node_8h.html#a804c207915f106fe2385557202f49389">node_get_neighbour</a> (<a class="el" href="structs__node.html">node</a> nd)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Devuelve el primer nodo que este en los vecinos de nd.  <a href="#a804c207915f106fe2385557202f49389"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Descripción detallada</h2>
<p>&lt; Estructura y funciones del nodo &gt; </p>
<hr/><h2>Documentación de los tipos definidos</h2>
<a class="anchor" id="a459b35d75156ad8335079fba6aeff369"></a><!-- doxytag: member="node.h::node" ref="a459b35d75156ad8335079fba6aeff369" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef struct <a class="el" href="structs__node.html">s_node</a> * <a class="el" href="structs__node.html">node</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>La estructura <a class="el" href="structs__node.html" title="Esta estructura representa un nodo.">s_node</a> la llamaremos con el puntero node. </p>

</div>
</div>
<hr/><h2>Documentación de las funciones</h2>
<a class="anchor" id="a75d5cc05cbabba9db1a09e6868c000e4"></a><!-- doxytag: member="node.h::node_add_neighbour" ref="a75d5cc05cbabba9db1a09e6868c000e4" args="(node nd, node to, unsigned int capacity, unsigned int flow, int level, bool backward)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void node_add_neighbour </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structs__node.html">node</a>&nbsp;</td>
          <td class="paramname"> <em>nd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structs__node.html">node</a>&nbsp;</td>
          <td class="paramname"> <em>to</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&nbsp;</td>
          <td class="paramname"> <em>capacity</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&nbsp;</td>
          <td class="paramname"> <em>flow</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>level</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>backward</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Agrega un vecino a la lista de vecinos del nodo. </p>
<dl class="pre"><dt><b>Precondición:</b></dt><dd><code> (nd != NULL) </code> </dd>
<dd>
<code> (to != NULL) </code> </dd></dl>
<dl><dt><b>Parámetros:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>nd</em>&nbsp;</td><td>Nodo a quien agregaremos el vecino. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>to</em>&nbsp;</td><td>El vecino a ser agregado. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>capacity</em>&nbsp;</td><td>La capacidad de flujo entre el nodo y su nuevo vecino. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>flow</em>&nbsp;</td><td>El flujo que se dirige al nuevo vecino. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>level</em>&nbsp;</td><td>El nivel al que se encuentra el vecino. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>backward</em>&nbsp;</td><td>True o False dependiendo si se agrega bwd o fwd. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a37a2cab23c1adb9dd7d5420f52b9f34a"></a><!-- doxytag: member="node.h::node_create" ref="a37a2cab23c1adb9dd7d5420f52b9f34a" args="(unsigned int name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structs__node.html">node</a> node_create </td>
          <td>(</td>
          <td class="paramtype">unsigned int&nbsp;</td>
          <td class="paramname"> <em>name</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Crea un nodo nuevo. </p>
<dl><dt><b>Parámetros:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>name</em>&nbsp;</td><td>El 'nombre' del nodo. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Devuelve:</b></dt><dd>El nuevo nodo con el nombre 'name'. </dd></dl>

</div>
</div>
<a class="anchor" id="ab4c184fc0e28fe7503a354793c767f05"></a><!-- doxytag: member="node.h::node_delete_neighbour" ref="ab4c184fc0e28fe7503a354793c767f05" args="(node nd, unsigned int name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void node_delete_neighbour </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structs__node.html">node</a>&nbsp;</td>
          <td class="paramname"> <em>nd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned int&nbsp;</td>
          <td class="paramname"> <em>name</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Borro el vecino name de la lista de vecinos del nodo. </p>
<dl class="pre"><dt><b>Precondición:</b></dt><dd><code> (nd != NULL) </code> </dd></dl>
<dl><dt><b>Parámetros:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>nd</em>&nbsp;</td><td>El nodo del cual quiero borrar uno de sus vecinos. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>name</em>&nbsp;</td><td>El nombre del nodo que quiero borrar. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a2dfbebabbeeed690f9198dd386e82bb2"></a><!-- doxytag: member="node.h::node_destroy" ref="a2dfbebabbeeed690f9198dd386e82bb2" args="(node nd)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structs__node.html">node</a> node_destroy </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structs__node.html">node</a>&nbsp;</td>
          <td class="paramname"> <em>nd</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Destruye el nodo. </p>
<dl class="pre"><dt><b>Precondición:</b></dt><dd><code> (nd != NULL) </code> </dd></dl>
<dl><dt><b>Parámetros:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>nd</em>&nbsp;</td><td>Nodo a ser destruido. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Devuelve:</b></dt><dd>Null. </dd></dl>

</div>
</div>
<a class="anchor" id="a21dd444b792c4919fc92cc0fe25021a5"></a><!-- doxytag: member="node.h::node_get_level" ref="a21dd444b792c4919fc92cc0fe25021a5" args="(node nd)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int node_get_level </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structs__node.html">node</a>&nbsp;</td>
          <td class="paramname"> <em>nd</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Devuelve el nivel al que se encuentra el nodo. </p>
<dl class="pre"><dt><b>Precondición:</b></dt><dd><code> (nd != NULL) </code> </dd></dl>
<dl><dt><b>Parámetros:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>nd</em>&nbsp;</td><td>El nodo a verificar. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Devuelve:</b></dt><dd>Un entero representando el nivel del nodo. </dd></dl>

</div>
</div>
<a class="anchor" id="a804c207915f106fe2385557202f49389"></a><!-- doxytag: member="node.h::node_get_neighbour" ref="a804c207915f106fe2385557202f49389" args="(node nd)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structs__node.html">node</a> node_get_neighbour </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structs__node.html">node</a>&nbsp;</td>
          <td class="paramname"> <em>nd</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Devuelve el primer nodo que este en los vecinos de nd. </p>
<dl class="pre"><dt><b>Precondición:</b></dt><dd><code> (nd != NULL) </code> </dd></dl>
<dl><dt><b>Parámetros:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>nd</em>&nbsp;</td><td>Un nodo al cual se pedira el vecino. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Devuelve:</b></dt><dd>Retorna el proximo vecino en la lista de vecinos. </dd></dl>

</div>
</div>
<a class="anchor" id="a341634c5a7a4387a61220ec38142ef15"></a><!-- doxytag: member="node.h::node_name" ref="a341634c5a7a4387a61220ec38142ef15" args="(node nd)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int node_name </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structs__node.html">node</a>&nbsp;</td>
          <td class="paramname"> <em>nd</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Retorna el nombre del nodo. </p>
<dl class="pre"><dt><b>Precondición:</b></dt><dd><code> (nd != NULL) </code> </dd></dl>
<dl><dt><b>Parámetros:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>nd</em>&nbsp;</td><td>Nombre del cual queremos saber el nombre. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Devuelve:</b></dt><dd>Un entero con el nombre del nodo. </dd></dl>

</div>
</div>
<a class="anchor" id="a3dbda47bb0c9668bda9e2a4db958ffdf"></a><!-- doxytag: member="node.h::node_neighbours" ref="a3dbda47bb0c9668bda9e2a4db958ffdf" args="(node nd)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structplist__s.html">plist_t</a> node_neighbours </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structs__node.html">node</a>&nbsp;</td>
          <td class="paramname"> <em>nd</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Devuelve una lista con todos los vecinos del nodo. </p>
<dl class="pre"><dt><b>Precondición:</b></dt><dd><code> (nd != NULL) </code> </dd></dl>
<dl><dt><b>Parámetros:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>nd</em>&nbsp;</td><td>El nodo a quien se pediran los vecinos. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Devuelve:</b></dt><dd>La lista de vecinos del nodo. </dd></dl>

</div>
</div>
<a class="anchor" id="aa667e90fcaef406576068bc83e0a196a"></a><!-- doxytag: member="node.h::node_neighbours_fordward" ref="aa667e90fcaef406576068bc83e0a196a" args="(node nd)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool node_neighbours_fordward </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structs__node.html">node</a>&nbsp;</td>
          <td class="paramname"> <em>nd</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Indica si hay vecinos entre los vecinos del nodo nd. </p>
<dl class="pre"><dt><b>Precondición:</b></dt><dd><code> (nd != NULL) </code> </dd></dl>
<dl><dt><b>Parámetros:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>nd</em>&nbsp;</td><td>El nodo en cuestion. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Devuelve:</b></dt><dd>True si hay un nodo vecino. </dd></dl>

</div>
</div>
<a class="anchor" id="a64bea7dd4c4cfebfb357a5c9ca471996"></a><!-- doxytag: member="node.h::node_set_level" ref="a64bea7dd4c4cfebfb357a5c9ca471996" args="(node nd, int level)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void node_set_level </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structs__node.html">node</a>&nbsp;</td>
          <td class="paramname"> <em>nd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>level</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Seteamos el nivel del nodo. </p>
<dl class="pre"><dt><b>Precondición:</b></dt><dd><code> (nd != NULL) </code> </dd></dl>
<dl><dt><b>Parámetros:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>nd</em>&nbsp;</td><td>Nodo a setear. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>level</em>&nbsp;</td><td>Nivel al que setearemos el nodo. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ac2eb17f20c4320c391cfa47a879b0d42"></a><!-- doxytag: member="node.h::node_unvisit" ref="ac2eb17f20c4320c391cfa47a879b0d42" args="(node nd)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void node_unvisit </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structs__node.html">node</a>&nbsp;</td>
          <td class="paramname"> <em>nd</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Marca como no visitado el nodo. </p>
<dl class="pre"><dt><b>Precondición:</b></dt><dd><code> (nd != NULL) </code> </dd></dl>
<dl><dt><b>Parámetros:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>nd</em>&nbsp;</td><td>Nodo a des-visitar. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a33904e3954dfe80913894d0517fa5de3"></a><!-- doxytag: member="node.h::node_visit" ref="a33904e3954dfe80913894d0517fa5de3" args="(node nd)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void node_visit </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structs__node.html">node</a>&nbsp;</td>
          <td class="paramname"> <em>nd</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Marca como visitado el nodo. </p>
<dl class="pre"><dt><b>Precondición:</b></dt><dd><code> (nd != NULL) </code> </dd></dl>
<dl><dt><b>Parámetros:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>nd</em>&nbsp;</td><td>Nodo a visitar. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="acd62708fdd228d83b06157bdf1cb0c52"></a><!-- doxytag: member="node.h::node_visited" ref="acd62708fdd228d83b06157bdf1cb0c52" args="(node nd)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool node_visited </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structs__node.html">node</a>&nbsp;</td>
          <td class="paramname"> <em>nd</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Verifica si un nodo fue visitado o no. </p>
<dl><dt><b>Parámetros:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>nd</em>&nbsp;</td><td>El nodo a verificar. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Devuelve:</b></dt><dd>True o False segun el nodo fue o no visitado. </dd></dl>

</div>
</div>
</div>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&nbsp;</span>Todo</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&nbsp;</span>Estructuras de Datos</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&nbsp;</span>Archivos</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&nbsp;</span>Funciones</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&nbsp;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&nbsp;</span>Tipos definidos</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&nbsp;</span>Definiciones</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<hr class="footer"/><address style="text-align: right;"><small>Generado el Mon Jun 6 20:15:28 2011 para dinic por&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
</body>
</html>
